package com.HMI;

import java.awt.Color;
import java.awt.Font;
import javax.swing.JButton;
import javax.swing.SwingConstants;

import com.Resources.CustomColor;

@SuppressWarnings("serial")
public class MenuButton extends JButton {

	public MenuButton(String title, int x, int y, int width, int height) {
		this.setText(title);
		this.setFont(new Font("DejaVu Sans", Font.PLAIN, 20));
		this.setHorizontalAlignment(SwingConstants.LEFT);
		this.setOpaque(false);
		this.setBackground(new Color(0, 0, 0, 0));
		this.setForeground(CustomColor.WHITE);
		this.setBorderPainted(false);
		this.setFocusPainted(false);
		this.setContentAreaFilled(false);
		this.setBounds(x, y, width, height);
	}
	
}
